<!--slider s-->
<div class="swiper-container">
    <div class="swiper-wrapper">
		<?php if(!empty($this->top_banners)):?>
		<?php foreach($this->top_banners as $top_banners):?>
        <div class="swiper-slide"><?php if($top_banners['target_url']){echo "<a href='".$top_banners['target_url']."'>";}?><img src="/images/banners/<?=$top_banners['image_url']?>"/><?php if($top_banners['target_url']){echo "</a>";}?></div>
		<?php endforeach;?>
		<?php endif;?>
    </div>
   <!-- 分页器 -->
    <div class="swiper-pagination"></div>
</div>      
<!--slider e-->

<!--请输入活动块 s-->
<form action="/index/dashboard#search" method="GET" name="form1" id="form1">
<div class="am-g part1_hd_bg" name="search" id="search">
  <div class="am-u-sm-12"><i class="am-icon-search part1_hd_i"></i><input type="text" class="am-form-field am-radius part1_hd_input" placeholder="请输入活动或商家名称" name="keyword" /></div>
</div>
</form>
<!--请输入活动块 e-->

<!--栏目块 s-->
<div class="am-g part1_hd_lanmubg">
  <div class="am-u-sm-3"><a href="/index/dashboard/category/1#search"><img class="am-img-responsive" alt="" src="/images/banners/caipiao.png"/></a></div>
  <div class="am-u-sm-3"><a href="/index/dashboard/category/2#search"><img class="am-img-responsive" alt="" src="/images/banners/hongbao.png"/></a></div>
  <div class="am-u-sm-3"><a href="/index/dashboard/category/3#search"><img class="am-img-responsive" alt="" src="/images/banners/jp.png"/></a></div>
  <div class="am-u-sm-3"><a href="/index/dashboard/category/4#search"><img class="am-img-responsive" alt="" src="/images/banners/dz.png"/></a></div>
</div>
<!--栏目块 e-->

<!--内容块 s-->
<div data-am-widget="list_news" class="am-list-news am-list-news-default part1_hd_nrbg" >
  <div class="am-list-news-bd">
          <ul class="am-list">
			  <?php if($this->items):?>
			  <?php foreach($this->items as $items):?>
              <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left part1_hd_lib">
                <div class="am-u-sm-2 am-list-thumb">
                  <a href="/index/level1/level_id/<?=$items['level1_id']?>">
                    <img src="/images/banners/<?=$items['image_url']?>" />
                  </a>
                </div>        
                <div class="am-u-sm-9 am-list-main">
                    <h3 class="am-list-item-hd"><a href="/index/level1/level_id/<?=$items['level1_id']?>" class="part1_hd_color"><?=$items['title']?></a></h3>       
                    <div class="am-list-item-text"><?=$items['joined_members']?>人已参与</div>        
                </div>
              </li>
			  <?php endforeach;?>
			  <?php endif;?>
            </ul>
  </div>
</div>